package com.itheima02;

public class Work11 {
    public static void main(String[] args) {
        int[] arr = {55, 77, 0, 88, 22, 44, 33};
        int[] arr2 = new int[7];
        System.arraycopy(arr, 0, arr2, 0, 2);
        System.arraycopy(arr, 3, arr2, 2, 4);
        for (int i = 0; i < arr2.length; i++) {
            System.out.println(arr2[i]);
        }
    }
}
